<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-pe.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">tw-pe.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="tw-pe_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">    3</a></span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a> (<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>)</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;{</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;    (void) pe;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;}</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="tw-pe_8c.html#a8cebfe47c04f3a0ed4ffa359c1090c90">    9</a></span>&#160;<a class="code" href="tw-pe_8c.html#a8cebfe47c04f3a0ed4ffa359c1090c90">tw_pe_settype</a>(<span class="keyword">const</span> <a class="code" href="structtw__petype.html">tw_petype</a> * type)</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>)</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;                <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Undefined PE!&quot;</span>);</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define copy_pef(f, d) \</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">                g_tw_pe-&gt;type.f = type-&gt;f ? type-&gt;f : d</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;        <a class="code" href="tw-pe_8c.html#ac957bdbd5449dc4663fe855eb0cdbf2f">copy_pef</a>(pre_lp_init, <a class="code" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a>);</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;        <a class="code" href="tw-pe_8c.html#ac957bdbd5449dc4663fe855eb0cdbf2f">copy_pef</a>(post_lp_init, <a class="code" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a>);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        <a class="code" href="tw-pe_8c.html#ac957bdbd5449dc4663fe855eb0cdbf2f">copy_pef</a>(gvt, <a class="code" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a>);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        <a class="code" href="tw-pe_8c.html#ac957bdbd5449dc4663fe855eb0cdbf2f">copy_pef</a>(<span class="keyword">final</span>, <a class="code" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a>);</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#undef copy_pef</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * initialize individual PE structs</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * must be called after tw_nnodes / MPI world size is set.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e">   32</a></span>&#160;<a class="code" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e">tw_pe_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>) <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;PE %u already initialized&quot;</span>, <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a> = (<a class="code" href="structtw__pe.html">tw_pe</a>*)<a class="code" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;PE Struct&quot;</span>, <span class="keyword">sizeof</span>(*<a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>), 1);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#a8a57f2123eddf6a195d82ecc781093e6">id</a> = <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <a class="code" href="structtw__petype.html">tw_petype</a> no_type;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    memset(&amp;no_type, 0, <span class="keyword">sizeof</span>(no_type));</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="tw-pe_8c.html#a8cebfe47c04f3a0ed4ffa359c1090c90">tw_pe_settype</a>(&amp;no_type);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#a63048ba8f41665780ab46b3b6635ae91">trans_msg_ts</a> = DBL_MAX;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#aa98f15c0be3577c62140c24fda6ac062">gvt_status</a> = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="comment">// TODO is the PE RNG ever actually used?</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#aff44aa417c8a4d9a8568e836a4ae1180">rng</a> = <a class="code" href="ross-random_8c.html#a5600e4cb011d29cc24a2408220d58909">tw_rand_init</a>(31, 41);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="comment">//If we&#39;re in (some variation of) optimistic mode, we need this hash</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda7ff3894aed4e1746b6fb19f9472678c8">OPTIMISTIC</a> ||</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fdacc902805d3a33320ec8f60c2add387ba">OPTIMISTIC_DEBUG</a> ||</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda65a00e65f23b13a6f19ea3e16f9b9e05">OPTIMISTIC_REALTIME</a>) {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ae5a648dd3ec46d9d3c9d9253603203e8">hash_t</a> = <a class="code" href="hash-quadratic_8c.html#aebe8a594c0fe5a367f194e7ba7e1aa80">tw_hash_create</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ae5a648dd3ec46d9d3c9d9253603203e8">hash_t</a> = NULL;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="tw-pe_8c.html#a36f9f2e3925202eae4c7cb42f913280c">   62</a></span>&#160;<a class="code" href="tw-pe_8c.html#a36f9f2e3925202eae4c7cb42f913280c">tw_pe_fossil_collect</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <a class="code" href="structtw__kp.html">tw_kp</a>   *kp;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>     i;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="ross-extern_8h.html#af545d515aac1a8f3f15aa261af6db1e2">g_tw_fossil_attempts</a>++;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a>; i++)</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        {</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                kp = <a class="code" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a>(i);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                <a class="code" href="tw-eventq_8h.html#a8cee9de44c05a95ae003767f7299d9c4">tw_eventq_fossil_collect</a>(&amp;kp-&gt;<a class="code" href="structtw__kp.html#a3f7a839239647d5c13db750f34c11013">pevent_q</a>, <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        }</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;}</div>
<div class="ttc" id="ross-extern_8h_html_ae22db4d4e754eff64535402f5fa60a5f"><div class="ttname"><a href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a></div><div class="ttdeci">tw_synch g_tw_synchronization_protocol</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00018">ross-global.c:18</a></div></div>
<div class="ttc" id="ross-extern_8h_html_afffdf140f2c492f61546ad783833f127"><div class="ttname"><a href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a></div><div class="ttdeci">#define TW_LOC</div><div class="ttdef"><b>Definition:</b> <a href="ross-extern_8h_source.html#l00164">ross-extern.h:164</a></div></div>
<div class="ttc" id="hash-quadratic_8c_html_aebe8a594c0fe5a367f194e7ba7e1aa80"><div class="ttname"><a href="hash-quadratic_8c.html#aebe8a594c0fe5a367f194e7ba7e1aa80">tw_hash_create</a></div><div class="ttdeci">void * tw_hash_create()</div><div class="ttdef"><b>Definition:</b> <a href="hash-quadratic_8c_source.html#l00032">hash-quadratic.c:32</a></div></div>
<div class="ttc" id="ross-random_8c_html_a5600e4cb011d29cc24a2408220d58909"><div class="ttname"><a href="ross-random_8c.html#a5600e4cb011d29cc24a2408220d58909">tw_rand_init</a></div><div class="ttdeci">tw_rng * tw_rand_init(uint32_t v, uint32_t w)</div><div class="ttdef"><b>Definition:</b> <a href="ross-random_8c_source.html#l00007">ross-random.c:7</a></div></div>
<div class="ttc" id="tw-pe_8c_html_a36f9f2e3925202eae4c7cb42f913280c"><div class="ttname"><a href="tw-pe_8c.html#a36f9f2e3925202eae4c7cb42f913280c">tw_pe_fossil_collect</a></div><div class="ttdeci">void tw_pe_fossil_collect(void)</div><div class="ttdef"><b>Definition:</b> <a href="tw-pe_8c_source.html#l00062">tw-pe.c:62</a></div></div>
<div class="ttc" id="structtw__pe_html_aa98f15c0be3577c62140c24fda6ac062"><div class="ttname"><a href="structtw__pe.html#aa98f15c0be3577c62140c24fda6ac062">tw_pe::gvt_status</a></div><div class="ttdeci">unsigned char gvt_status</div><div class="ttdoc">Bits available for gvt computation. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00400">ross-types.h:400</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a49ed2388aaae26e43280b7909c834aaa"><div class="ttname"><a href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a></div><div class="ttdeci">void tw_error(const char *file, int line, const char *fmt,...) NORETURN</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00074">tw-util.c:74</a></div></div>
<div class="ttc" id="tw-pe_8c_html_a8cebfe47c04f3a0ed4ffa359c1090c90"><div class="ttname"><a href="tw-pe_8c.html#a8cebfe47c04f3a0ed4ffa359c1090c90">tw_pe_settype</a></div><div class="ttdeci">void tw_pe_settype(const tw_petype *type)</div><div class="ttdef"><b>Definition:</b> <a href="tw-pe_8c_source.html#l00009">tw-pe.c:9</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda7ff3894aed4e1746b6fb19f9472678c8"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda7ff3894aed4e1746b6fb19f9472678c8">OPTIMISTIC</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00030">ross-types.h:30</a></div></div>
<div class="ttc" id="structtw__pe_html_a63048ba8f41665780ab46b3b6635ae91"><div class="ttname"><a href="structtw__pe.html#a63048ba8f41665780ab46b3b6635ae91">tw_pe::trans_msg_ts</a></div><div class="ttdeci">tw_stime trans_msg_ts</div><div class="ttdoc">Last transient messages&#39; time stamp. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00402">ross-types.h:402</a></div></div>
<div class="ttc" id="structtw__pe_html"><div class="ttname"><a href="structtw__pe.html">tw_pe</a></div><div class="ttdoc">Holds the entire PE state. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00375">ross-types.h:375</a></div></div>
<div class="ttc" id="structtw__kp_html_a3f7a839239647d5c13db750f34c11013"><div class="ttname"><a href="structtw__kp.html#a3f7a839239647d5c13db750f34c11013">tw_kp::pevent_q</a></div><div class="ttdeci">tw_eventq pevent_q</div><div class="ttdoc">Events processed by LPs bound to this KP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00359">ross-types.h:359</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a4066dfaca8faa4af256a377d85cea32f"><div class="ttname"><a href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a></div><div class="ttdeci">static tw_kp * tw_getkp(tw_kpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00053">ross-kernel-inline.h:53</a></div></div>
<div class="ttc" id="structtw__kp_html"><div class="ttname"><a href="structtw__kp.html">tw_kp</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00340">ross-types.h:340</a></div></div>
<div class="ttc" id="structtw__pe_html_ae5a648dd3ec46d9d3c9d9253603203e8"><div class="ttname"><a href="structtw__pe.html#ae5a648dd3ec46d9d3c9d9253603203e8">tw_pe::hash_t</a></div><div class="ttdeci">void * hash_t</div><div class="ttdoc">Array of incoming events from remote pes, Note: only necessary for distributed DSR. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00418">ross-types.h:418</a></div></div>
<div class="ttc" id="tw-pe_8c_html_a2a0e6607074d85f80badcf5f5da3547e"><div class="ttname"><a href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e">tw_pe_init</a></div><div class="ttdeci">void tw_pe_init(void)</div><div class="ttdef"><b>Definition:</b> <a href="tw-pe_8c_source.html#l00032">tw-pe.c:32</a></div></div>
<div class="ttc" id="tw-eventq_8h_html_a8cee9de44c05a95ae003767f7299d9c4"><div class="ttname"><a href="tw-eventq_8h.html#a8cee9de44c05a95ae003767f7299d9c4">tw_eventq_fossil_collect</a></div><div class="ttdeci">static void tw_eventq_fossil_collect(tw_eventq *q, tw_pe *pe)</div><div class="ttdef"><b>Definition:</b> <a href="tw-eventq_8h_source.html#l00134">tw-eventq.h:134</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a83ae3f8b8b94935a1dbdfa2d2552f508"><div class="ttname"><a href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a></div><div class="ttdeci">tw_peid g_tw_mynode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00088">ross-global.c:88</a></div></div>
<div class="ttc" id="structtw__pe_html_aff44aa417c8a4d9a8568e836a4ae1180"><div class="ttname"><a href="structtw__pe.html#aff44aa417c8a4d9a8568e836a4ae1180">tw_pe::rng</a></div><div class="ttdeci">tw_rng * rng</div><div class="ttdoc">Pointer to the random number generator on this PE. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00426">ross-types.h:426</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="ross-extern_8h_html_af545d515aac1a8f3f15aa261af6db1e2"><div class="ttname"><a href="ross-extern_8h.html#af545d515aac1a8f3f15aa261af6db1e2">g_tw_fossil_attempts</a></div><div class="ttdeci">int g_tw_fossil_attempts</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00028">ross-global.c:28</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a2f67789cc425e7d839fa4b983f5b8505"><div class="ttname"><a href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a></div><div class="ttdeci">tw_pe * g_tw_pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00075">ross-global.c:75</a></div></div>
<div class="ttc" id="tw-pe_8c_html_a5eb4956a457b78c985923351ecd4b349"><div class="ttname"><a href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349">dummy_pe_f</a></div><div class="ttdeci">static void dummy_pe_f(tw_pe *pe)</div><div class="ttdef"><b>Definition:</b> <a href="tw-pe_8c_source.html#l00003">tw-pe.c:3</a></div></div>
<div class="ttc" id="avl__tree_8c_html_ac4c639748d4d5a271d6c54a18f614605"><div class="ttname"><a href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a></div><div class="ttdeci">tw_pe * pe</div><div class="ttdef"><b>Definition:</b> <a href="avl__tree_8c_source.html#l00011">avl_tree.c:11</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fdacc902805d3a33320ec8f60c2add387ba"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fdacc902805d3a33320ec8f60c2add387ba">OPTIMISTIC_DEBUG</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00031">ross-types.h:31</a></div></div>
<div class="ttc" id="tw-pe_8c_html_ac957bdbd5449dc4663fe855eb0cdbf2f"><div class="ttname"><a href="tw-pe_8c.html#ac957bdbd5449dc4663fe855eb0cdbf2f">copy_pef</a></div><div class="ttdeci">#define copy_pef(f, d)</div></div>
<div class="ttc" id="structtw__petype_html"><div class="ttname"><a href="structtw__petype.html">tw_petype</a></div><div class="ttdoc">Virtual Functions for per PE ops. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00059">ross-types.h:59</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a4a237c68db5a0325e986d3710088d427"><div class="ttname"><a href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a></div><div class="ttdeci">tw_kpid g_tw_nkp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00025">ross-global.c:25</a></div></div>
<div class="ttc" id="structtw__pe_html_a8a57f2123eddf6a195d82ecc781093e6"><div class="ttname"><a href="structtw__pe.html#a8a57f2123eddf6a195d82ecc781093e6">tw_pe::id</a></div><div class="ttdeci">tw_peid id</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00376">ross-types.h:376</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a445b1ed30cd2e8ef1f837e782a339a70"><div class="ttname"><a href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70">tw_calloc</a></div><div class="ttdeci">void * tw_calloc(const char *file, int line, const char *for_who, size_t e_sz, size_t n)</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00203">tw-util.c:203</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda65a00e65f23b13a6f19ea3e16f9b9e05"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda65a00e65f23b13a6f19ea3e16f9b9e05">OPTIMISTIC_REALTIME</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00032">ross-types.h:32</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
